﻿using System;
using System.Collections.Generic;
using System.Text;

namespace FDSimpleModelGenerator.Cache.Redis
{
    /// <summary>
    /// redis配置
    /// </summary>
    public class RedisCacheConfig //: IRedisCacheConfig
    {
        public int DatabaseIndex { get; set; }

        public string ConnectionString { get; set; }

        /// <summary>
        /// 是否有效
        /// </summary>
        public bool IsEnable { get; set; }

        //public TimeSpan ExpiresIn { get; set; }
    }
}
